package com.cy.pj.common.vo;

import lombok.Data;

import java.io.Serializable;

/**
 * 封装查询到的上级菜单id,name,parentId信息
 */
@Data
public class Node implements Serializable {
    private static final long serialVersionUID = 4828985081977733366L;
    private Integer id;
    private String name;
    private Integer parentId;

    @Override
    public String toString() {
        return "Node [id=" + id + ", name=" + name +
                ", parentId=" + parentId + "]";
    }
}
